<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <base href="${wxPortURl!}/"/>
    <meta charset="UTF-8">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
    <meta http-equiv="expires" content="0">
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,minimum-scale=1.0">
    <title>漠河智慧社区</title>
    <link href="Content/wechat/css/reset.css" rel="stylesheet" type="text/css">
    <link href="Content/wechat/css/index.css" rel="stylesheet" type="text/css">
    <!--banner-->
    <link href="Content/wechat/css/amazeui.min.css" rel="stylesheet" type="text/css">
    <script src="Content/wechat/js/jquery.min.js"></script>
    <!--字体缩放-->
    <script src="Content/wechat/js/ziti.js"></script>
    <!--end 字体缩放-->

</head>
<body>
<!--header-->
<header class="header">
    <!--搜索-->
    <!--    <div onclick=window.location="search.html" class="search"></div>-->
    <div class="pet_mian" id="top">
        <!--banner-->
        <div data-am-widget="slider" class="am-slider am-slider-a1">
            <!--banner-->
            <ul class="am-slides">
                <li>
                    <img src="Content/wechat/images/banner_1.jpg">

                </li>
                <!--                <li>-->
                <!--                    <img src="Content/wechat/images/banner_1.jpg">-->

                <!--                </li>-->
                <!--                <li>-->
                <!--                    <img src="Content/wechat/images/banner_1.jpg">-->

                <!--                </li>-->
            </ul>
        </div>

    </div>
</header>
<!--end  header-->
<!--图标-->
<div class="tuBiao_up clearfix">
    <a class="a_icon" href="/wechat/home/party" target="_self">
        <img src="Content/wechat/images/tu_01.png">
        <span>党建</span>
    </a>
    <a class="a_icon" href="/wechat/home/life" target="_self">
        <img src="Content/wechat/images/tu_02.png">
        <span>生活</span>
    </a>
    <a class="a_icon" href="/wechat/home/culture" target="_self">
        <img src="Content/wechat/images/tu_03.png">
        <span>文化</span>
    </a>
    <a class="a_icon" href="/wechat/home/aged" target="_self">
        <img src="Content/wechat/images/tu_04.png">
        <span>养老</span>
    </a>
    <a class="a_icon" href="/wechat/home/lawmanage" target="_self">
        <img src="Content/wechat/images/tu_05.png">
        <span>综治</span>
    </a>
</div>
<!--企业名录-->
<div class="qiYeMingLu clearfix">
    <div class="qiYeMingLu_l">
<!--        <img src="Content/wechat/images/sq.png">-->
    </div>
    <div class="qiYeMingLu_r">
        <h4>您好！欢迎来到漠河智慧社区，我们将为您推荐更多优质服务</h4>
    </div>
</div>
<!--俩按钮-->
<div class="juMinJieDa clearfix">
    <div class="juMinJieDa_l " onclick=window.location="/wechat/home/publicReaction/sheQingFanYing">
        <img src="Content/wechat/images/s_l.jpg">
    </div>
    <div class="juMinJieDa_r" onclick=window.location="/wechat/home/residentsAnswer/zaiXianDaTi">
        <img src="Content/wechat/images/s_r.jpg">
    </div>
</div>
<!--我的社区-->
<div class="woDeSheQu">
    <ul class="woDeSheQu_box">
        <li>
            <a href="/wechat/home/community/community">
                <img src="Content/wechat/images/w_1.png">
                <span>我的社区</span>
            </a>
        </li>
        <li>
            <a href="/wechat/home/gridding/gridding">
                <img src="Content/wechat/images/w_2.png">
                <span>我的网格</span>
            </a>
        </li>
        <li>
            <a href="/wechat/home/card/index">
                <img src="Content/wechat/images/w_3.png">
                <span>在线办理</span>
            </a>
        </li>
        <li>
            <a href="/wechat/home/volunteer">
                <img src="Content/wechat/images/w_4.png">
                <span>志愿服务</span>
            </a>
        </li>
    </ul>
</div>
<!--政务公开-->
<div class="zhengWuGongKai">
    <div class="zhengWuGongKai_box">
        <div class="zhengWuGongKai_box_title">
            <h2><i></i>政务公开</h2>

        </div>
        <ul class="zhengWuGongKai_box_down" id="zwfbfour">
<!--            <li>-->
<!--                <a href="/wechat/home/open/zhengWuFaBu_xx?id=43536">-->
<!--                    <h3>展示各社区的警务室工作介绍、辖区警讯、社区民警等信息</h3>-->
<!--                    <span>2019-06-23</span>-->
<!--                </a>-->
<!--            </li>-->

        </ul>
        <div class="div_more">
            <a href="/wechat/home/open/zhengWuFaBu" class="more">+MORE</a>
        </div>
    </div>
</div>
<!--通知公告-->
<div class="zhengWuGongKai">
    <div class="zhengWuGongKai_box">
        <div class="zhengWuGongKai_box_title">
            <h2><i></i>通知公告</h2>

        </div>
        <ul class="zhengWuGongKai_box_down" id="zwfbfour2">

        </ul>
        <div class="div_more">
            <a href="/wechat/home/notice/tongzhigogngao" class="more">+MORE</a>
        </div>
    </div>
</div>
<!--供求信息-->
<div class="gongQiu">
    <div class="zhengWuGongKai_box_title">
        <h2><i></i>供求信息</h2>
    </div>
    <div class="gongQiu_dwon">
        <dl onclick=window.location="/wechat/forum/findJob">
            <dd>
                <img src="Content/wechat/images/q_1.png">
            </dd>
            <dt>求职招聘</dt>
        </dl>
        <dl onclick=window.location="/wechat/forum/goodBuy">
            <dd>
                <img src="Content/wechat/images/q_2.png">
            </dd>
            <dt>物品买卖</dt>
        </dl>
        <dl onclick=window.location="/wechat/forum/houseBuy">
            <dd>
                <img src="Content/wechat/images/q_3.png">
            </dd>
            <dt>房屋租售</dt>
        </dl>
        <dl onclick=window.location="/wechat/forum/peopleHelp">
            <dd>
                <img src="Content/wechat/images/q_4.png">
            </dd>
            <dt>居民求助</dt>
        </dl>

    </div>
</div>
<!--页尾-->
<script type="text/javascript" src="Content/wechat/js/foot.js">

</script>


</body>
<!--banner 特效js-->
<script src="Content/wechat/js/amazeui.min.js"></script>
<script>
    var isboodbye = '${isboodbye!}';
    window.onload=function () {
        f();
        // zwfblist();
    }
    function f() {
        if (isboodbye == "0") {
            alert("您因为违反用户使用条例，已经被强制禁用！！！");
            setTimeout(function() {
                //这个可以关闭安卓系统的手机
                document.addEventListener(
                    "WeixinJSBridgeReady",
                    function() {
                        WeixinJSBridge.call("closeWindow");
                    },
                    false
                );
                //这个可以关闭ios系统的手机
                WeixinJSBridge.call("closeWindow");
            }, 300)

        }
    }
</script>
<script>

    // function zwfblist() {
    //     $.ajax({
    //         url: "/wechat/home/open/selectListfour",
    //         type: 'post',
    //         dataType: 'json',
    //         data: {
    //
    //         }, success: function (result) {
    //             ajaxCallBack(result);
    //         }
    //
    //     })
    // }

    //重写日期格式
    Date.prototype.toLocaleString = function() {
        return this.getFullYear() + "年" + (this.getMonth() + 1) + "月" + this.getDate() + "日 ";
    };

var jsons =${data};
var jsons2 =${data2};
// alert(jsons);
    // function ajaxCallBack(data) {
        var insetViewData = ""; //视图数据
        $.each(jsons, function (index, items) {
            // alert(items.publicitytitle);
            var date =new Date(items.date);
            var commonTime = date.toLocaleString();
            insetViewData += " <li>\n" +
                "                <a href=\"/wechat/home/open/zhengWuFaBu_xx?id="+items.id+"\">\n" +
                "                    <h3>"+items.publicitytitle+"</h3>\n" +
                "                    <span>"+commonTime+"</span>\n" +
                "                </a>\n" +
                "            </li>";

        });
        $("#zwfbfour").html(insetViewData);

    // }
    var insetViewData2 = ""; //视图数据
    $.each(jsons2, function (index, items) {
        // alert(items.publicitytitle);
        var date =new Date(items.date);
        var commonTime = date.toLocaleString();
        insetViewData2 += " <li>\n" +
            "                <a href=\"/wechat/home/notice/tongzhigogngao_xx?id="+items.id+"\">\n" +
            "                    <h3>"+items.publicitytitle+"</h3>\n" +
            "                    <span>"+commonTime+"</span>\n" +
            "                </a>\n" +
            "            </li>";

    });
    $("#zwfbfour2").html(insetViewData2);

</script>
</html>